/**
 * Created by cjd on 2016/6/9.
 */
angular.module("app").controller("org.info.Ctrl", ["$scope", "$http", "org", function ($scope, $http, org) {
    $scope.treeViewConfig = angular.copy($scope.$parent.treeViewConfig);
    $scope.treeViewConfig.onItemClick = function(e){
        $scope.orgInfo = e.itemData;
    };
    $scope.orgInfo = $scope.$parent.treeViewDataSource[0];
}]);